package cn.xsly.system.mapper;

import cn.xsly.system.domain.Permission;
import cn.xsly.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-20
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> loadPermissionSnByLogininfoId(Long id);

    Permission loadBySn(String permissionSn);
}
